Skip to content

ecryptfs: disable openssl module to fix build#392196

Merged
K900 merged 1 commit intoNixOS:masterfrom
LordGrimmauld:ecryptfs-build
Mar 23, 2025
Merged

ecryptfs: disable openssl module to fix build#392196
K900 merged 1 commit intoNixOS:masterfrom
LordGrimmauld:ecryptfs-build

Conversation

@LordGrimmauld
Copy link
Contributor

@LordGrimmauld LordGrimmauld commented Mar 22, 2025

This seems to have been important, as it was a channel blocker until recently [1]. The particular failure [2] was weird in the sense incorrect/incomplete C headers were pulled in. Disabling the openssl module seems to fix the build. OpenSSL was not listed as any sort of dependency, so it probably was not used anyways.

[1] #392175
[2] https://hydra.nixos.org/build/292468814/log

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@LordGrimmauld LordGrimmauld requested review from K900, obadz and vcunat March 22, 2025 20:48
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Mar 22, 2025
@LordGrimmauld
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 392196


x86_64-linux

✅ 1 package built:
  • ecryptfs

@LordGrimmauld
Copy link
Contributor Author

Clarification: the last successful build on trunk (https://hydra.nixos.org/build/291812413/nixlog/1) has openssl not found. So while this will likely fall back to some obscure internal implementation for cryptography, this would not be a regression.

This seems to have been important, as it was a channel blocker until recently [1].
The particular failure [2] was weird in the sense incorrect/incomplete C headers were pulled in.
Disabling the openssl module seems to fix the build.
OpenSSL was not listed as any sort of dependency, so it probably was not used anyways.

[1] NixOS#392175
[2] https://hydra.nixos.org/build/292468814/log
@K900 K900 merged commit 6db5944 into NixOS:master Mar 23, 2025
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments